class Shape
{
	int len,br;
	
	public Shape(int len, int br)
	{
         this.len=len;
		 this.br=br;
	}
    public void showShape(String spName)
	{
			System.out.println("Shape is "+spName+",   Len :"+len+" Bdrth. :"+br);
	}
	public void showArea()
	{
			System.out.println("This shape not determine!");
	}
}

class Rectangle extends Shape
{

	 public Rectangle(int len, int br)
	{
		 super(len,br); //calling base class constructor
	}
	public void showArea()  // method overriding
	{
		showShape("Rectangle");
        int ar=len*br;
		System.out.println("Area is :"+ar);
	}
}

public class Inheritance6
{
	public static void main(String[] args) 
	{
	
		Rectangle rect=new Rectangle(10,5);
	    rect.showArea();
		
		System.out.println("Thank you!");
	}
}
